CloningMethod Enumeration

Enumerates the methods that can be used to clone a Vector<T> or Matrix<T>.

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
C#
public enum CloningMethod

Members

Exact0 Makes an independent clone with the same logical values, exact representation, structural layout, and relevant metadata. The result is detached and has at least value mutability; no positional writability is promised.
NonzeroElementsWritable1 Makes an independent clone with the same logical values in which every logically nonzero source coordinate can be assigned independently. The representation may change when required by that promise.
AllElementsWritable2 Makes an independent clone such that every logical coordinate can be assigned independently. This may require a different structural representation.
ShapeOnly3 Makes an independent zero/default-valued clone with the exact representation, structural layout, positional-writability pattern, and relevant shape metadata. The result is detached and has at least value mutability; no positional writability is promised.

See Also