forked from kscience/kmath
LinearSpace.compute -> LinearSpace.withComputedAttribute
This commit is contained in:
parent
a67bda8a33
commit
1be6a5ca0e
@ -182,7 +182,7 @@ public interface LinearSpace<T, out A : Ring<T>> : MatrixScope<T> {
|
||||
* better use [StructureND.getOrComputeAttribute].
|
||||
*/
|
||||
@UnstableKMathAPI
|
||||
public fun <V : Any, A : StructureAttribute<V>> Matrix<T>.compute(
|
||||
public fun <V : Any, A : StructureAttribute<V>> Matrix<T>.withComputedAttribute(
|
||||
attribute: A,
|
||||
): Matrix<T>? {
|
||||
return if (attributes[attribute] != null) {
|
||||
|
Loading…
Reference in New Issue
Block a user