## Examples of inverse()

### Examples of Jama.Matrix.inverse()

 `149150151152153154155156157158159` ```                        cameraRGBWB[j][i] *= wb[i];                 Matrix B = new Matrix(ColorScience.chromaticAdaptation(daylightTemperature, originalTemperature, caMethod));                 Matrix combo = XYZtoRGB.times(B.times(RGBtoZYX));                 cameraRGBWB = combo.inverse().times(new Matrix(cameraRGBWB)).getArrayFloat();             }                         cameraRGBCA = dcRaw.getCameraRGB();             dcRaw.getDaylightMultipliers(); ```
View Full Code Here

### Examples of Jama.Matrix.inverse()

 `150151152153154155156157158159160` ```        for (int i = 0; i < 3; i++)             for (int j = 0; j < 3; j++)                 mdata[i][j] = rgbXYZ[i][j];         Matrix XYZRGB = new Matrix(mdata);         float[][] S = new Matrix(new double[][] {{wtptXYZ[0], wtptXYZ[1], wtptXYZ[2]}}).times(XYZRGB.inverse()).getArrayFloat();         return new float[][] {             {S[0][0] * rgbXYZ[0][0], S[0][0] * rgbXYZ[0][1], S[0][0] * rgbXYZ[0][2]},             {S[0][1] * rgbXYZ[1][0], S[0][1] * rgbXYZ[1][1], S[0][1] * rgbXYZ[1][2]},             {S[0][2] * rgbXYZ[2][0], S[0][2] * rgbXYZ[2][1], S[0][2] * rgbXYZ[2][2]}   ```
View Full Code Here

### Examples of Jama.Matrix.inverse()

 `475476477478479480481482483484485` ```            {0, sXYZ[1] / tXYZ[1], 0},             {0, 0, sXYZ[2] / tXYZ[2]}         };         // total tansform         return B.times(new Matrix(diag)).times(B.inverse()).getArrayFloat();     }     public static double saturation(double r, double g, double b) {         double min = Math.min(r, Math.min(g, b));         double max = Math.max(r, Math.max(g, b)); ```
View Full Code Here

### Examples of aima.core.util.math.Matrix.inverse()

 `123124125126127128129130131132133` ```      O_tmd = e_tmd_to_t.get(0);       // f <- FORWARD(f, et-d)       f = forward(f, O_tmd);       // B <-       // O-1t-dBTOt       B = O_tmd.inverse().times(hmm.getTransitionModel().inverse())           .times(B).times(hmm.getTransitionModel()).times(O_t);     } else {       // else B <- BTOt       B = B.times(hmm.getTransitionModel()).times(O_t);     } ```
View Full Code Here

### Examples of cc.redberry.core.combinatorics.Permutation.inverse()

 `161162163164165166167168169170171` ```        //0th is identity identity         for (i = 1; i < resulting.length + 1; ++i) {             current = symmetries.get(i).list;             permutation = new int[size];             for (j = 0; j < size; ++j)                 permutation[j] = sort.inverse().newIndexOf(current.get(sort.newIndexOf(j)));             resulting[i - 1] = new Symmetry(permutation, symmetries.get(i).sign);         }         SimpleIndices simpleIndices = IndicesFactory.createSimple(indices);         simpleIndices.getSymmetries().addAllUnsafe(resulting);         return simpleIndices; ```
View Full Code Here

### Examples of cern.colt.matrix.linalg.Algebra.inverse()

 `274275276277278279280281282283284` ```            {                 temp.set(i, j, D.get(i, j) - A.get(i, j));             }         }         Algebra algebra = new Algebra();         DoubleMatrix2D tempInverse = algebra.inverse(temp);         DoubleMatrix2D T = new SparseDoubleMatrix2D(numVertices, numVertices);         //compute "voltage" matrix         for (int i = 0; i < numVertices - 1; i++)         {             for (int j = 0; j < numVertices - 1; j++) ```
View Full Code Here

### Examples of com.bbn.openmap.proj.Proj.inverse()

 `484485486487488489490491492493494` ```        String response;         try {             int x = Integer.parseInt(requestProperties.getProperty(X));             int y = Integer.parseInt(requestProperties.getProperty(Y));             projection.setCenter(projection.inverse(x, y));         } catch (Exception exc) {             Debug.output("MSH: Invalid Azimuth");         }         response = Math.round(projection.getCenter().getLatitude() * 100.0)   ```
View Full Code Here

### Examples of com.bbn.openmap.proj.Projection.inverse()

 `5051525354555657585960` ```    public void moveTo(Point loc) {}     public RoadPoint addRoadPoint(int x, int y) {         RoadLayer layer = road.getRoadLayer();         Projection p = layer.getProjection();         RoadPoint rp = new RoadPoint(road, p.inverse(x, y), layer);         road.insertRoadPointAt(rp, index + 1);         return rp;     }     public Road getRoad() { ```
View Full Code Here

### Examples of com.bbn.openmap.proj.Projection.inverse()

 `561562563564565566567568569570571` ```                 // process each column                 for (int x = sx; x < ex; x++) {                     // inverse project x,y to lon,lat                     projection.inverse(x, y, llp);                     // get point values                     float lat = llp.getLatitude();                     float lon = llp.getLongitude(); ```
View Full Code Here

### Examples of com.bbn.openmap.proj.Projection.inverse()

 `108109110111112113114115116117118` ```                    paintRectangle(map, point1, point2);                     // If rectangle is too small in both x and y then                     // recenter the map                     if ((dx < 5) && (dy < 5)) {                         LatLonPoint llp = projection.inverse(e.getPoint());                         boolean shift = e.isShiftDown();                         boolean control = e.isControlDown();                         if (control) { ```
View Full Code Here