org.das2.math.matrix.CompositeMatrix

All of the elementary row and column operations are applied to both underlying matrices. Reads are done from the first matrix. Writes are not allowed (except those that are side effects of elementary matrix operations).

CompositeMatrix( org.das2.math.matrix.Matrix m1, org.das2.math.matrix.Matrix m2 )


get

get( int row, int col ) → double

Parameters

row - an int
col - an int

Returns:

double

[search for examples] [view on GitHub] [view on old javadoc] [view source]


rowTimes

rowTimes( int row, double s ) → void

Parameters

row - an int
s - a double

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


rowTimesAddTo

rowTimesAddTo( int srcRow, double s, int dstRow ) → void

Parameters

srcRow - an int
s - a double
dstRow - an int

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


set

set( int row, int col, double d ) → void

Parameters

row - an int
col - an int
d - a double

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


swapRows

swapRows( int row1, int row2 ) → void

Parameters

row1 - an int
row2 - an int

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]