RaiseToPower Method (Power)
Cove - A Practical Quantum Computer Programming Framework
RaiseToPower Method (Power)
Raise this matrix to the specified power. To the power of 0 return an identity matrix of the same size. To the power of 1 leaves the matrix unaltered. Any higher number is the matrix times itself Power times.
Declaration Syntax
C#Visual BasicVisual C++
public ComplexMatrix RaiseToPower(
	int Power
Public Function RaiseToPower ( _
	Power As Integer _
) As ComplexMatrix
ComplexMatrix^ RaiseToPower(
	int Power
Power (Int32)
Power to raise to.
Return Value
A reference to this matrix, after the operation is applied
ArgumentExceptionRaised if argument Power is less than 0.

Assembly: Cove.ClassicalUtilities (Module: Cove.ClassicalUtilities) Version: (