fromList method

Matrix2 fromList(
  1. TypedDataList array, [
  2. int offset = 0
])

Implementation

Matrix2 fromList(TypedDataList array, [int offset = 0 ]) {
	for (int i = 0; i < 4; i ++ ) {
		this.storage[ i ] = array[ i + offset ].toDouble();
	}
	return this;
}