MCPcopy Create free account
hub / github.com/diffplug/matfilerw / setImaginary

Method setImaginary

src/main/java/com/jmatio/types/MLSparse.java:131–137  ·  view source on GitHub ↗
(Double value, int m, int n)

Source from the content-addressed store, hash-verified

129 }
130
131 @Override
132 public void setImaginary(Double value, int m, int n) {
133 assertComplex();
134 IndexMN i = new IndexMN(m, n);
135 indexSet.add(i);
136 imaginary.put(i, value);
137 }
138
139 @Override
140 public void setImaginary(Double value, int index) {

Callers 2

testMLSparseMethod · 0.95
readMatrixMethod · 0.95

Calls 3

assertComplexMethod · 0.80
addMethod · 0.80
putMethod · 0.80

Tested by 1

testMLSparseMethod · 0.76