Contents

copyBandPart(_:to:lowerBandCount:upperBandCount:filterParameters:)

Copies the specified subdiagonals and superdiagonals of a matrix, and sets other elements to zero.

Declaration

static func copyBandPart(_ source: BNNSNDArrayDescriptor, to destination: BNNSNDArrayDescriptor, lowerBandCount: Int?, upperBandCount: Int?, filterParameters: BNNSFilterParameters? = nil) throws

Parameters

  • source:

    The input descriptor.

  • destination:

    The output descriptor.

  • lowerBandCount:

    The number of subdiagonals that the function copies. Set to nil to copy the entire lower triangle.

  • upperBandCount:

    The number of superdiagonals that the function copies. Set to nil to copy the entire upper triangle.

  • filterParameters:

    The filter runtime parameters.

See Also

Related Documentation

Utility functions