public class MatrixMap extends Mapping
This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public Licence for more details.
You should have received a copy of the GNU General Public Licence along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street,Fifth Floor, Boston, MA 02110-1301, USA
Mapping.Interpolator, Mapping.Spreader
LINEAR_INTERPOLATOR, LINEAR_SPREADER, NEAREST_INTERPOLATOR, NEAREST_SPREADER
AST__BAD, AST__TUNULL, pointer
Constructor and Description |
---|
MatrixMap(int nin,
int nout)
Creates a MatrixMap using a unit matrix.
|
MatrixMap(int nin,
int nout,
double[] diag)
Creates a MatrixMap using a diagonal matrix.
|
MatrixMap(int nin,
int nout,
double[][] fullmatrix)
Creates a MatrixMap using a fully specified matrix.
|
decompose, getInvert, getNin, getNout, getReport, getTranForward, getTranInverse, invert, linearApprox, mapBox, mapSplit, rate, rebin, rebinD, rebinF, rebinI, resample, resampleB, resampleD, resampleF, resampleI, resampleL, resampleS, setInvert, setReport, simplify, tran1, tran2, tranGrid, tranN, tranP
annul, clear, copy, delete, equals, finalize, getAstConstantI, getB, getC, getD, getF, getI, getID, getIdent, getL, getNobject, getObjSize, getRefCount, hashCode, isThreaded, reportVersions, sameObject, set, setB, setC, setD, setF, setI, setID, setIdent, setL, show, test, tune
public MatrixMap(int nin, int nout, double[][] fullmatrix)
nin
- the number of input coordinatesnout
- the number of output coordinatesfullmatrix
- the matrix defining the transformation.
fullmatrix
must have nout
elements, each of which is an array of doubles
with nin
elements.AstException
- if there is an error in the AST library, or
if the supplied matrix is the wrong shapepublic MatrixMap(int nin, int nout, double[] diag)
nin
- the number of input coordinatesnout
- the number of output coordinatesdiag
- the diagonal elements of the matrix defining the
transformation. Must have at least
min(nin,nout)
elements.AstException
- if there is an error in the AST library, or
if the supplied matrix is the wrong shapepublic MatrixMap(int nin, int nout)
nin
- the number of input coordinatesnout
- the number of output coordinatesAstException
- if there is an error in the AST libraryCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.