Library/ManagedCuda/CudaBlas/CudaBlasHandler.cs
/// <summary>
/// This function constructs the Givens rotation matrix G = |c s; -s c| that zeros out the second entry of a 2x1 vector (a; b)T
/// </summary>
/// <param name="a"></param>
/// <param name="b"></param>
/// <param name="c">Cosine component</param>
/// <param name="s">Sine component</param>
This function constructs the Givens rotation matrix G = |c s; -s c| that zeros out the second entry of a 2x1 vector (a; b)T
This function constructs the Givens rotation matrix G = |c s ; - s c| that zeros out the second entry of a 2x1 vector ( a ; b ) T
public void Rotg(ref float a, ref float b, ref float c, ref float s)
		{
			_status = CudaBlasNativeMethods.cublasSrotg_v2(_blasHandle, ref a, ref b, ref c, ref s);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cublasSrotg_v2", _status));
			if (_status != CublasStatus.Success) throw new CudaBlasException(_status);
		}
public void Rotg ( ref float a , ref float b , ref float c , ref float s ) { _status = CudaBlasNativeMethods . cublasSrotg_v2 ( _blasHandle , ref a , ref b , ref c , ref s ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , _status ) ) ; if ( _status != CublasStatus . Success ) throw new CudaBlasException ( _status ) ; }
This function constructs the Givens rotation matrix G = |c s; -s c| that zeros out the second entry of a 2x1 vector (a; b)T
This function constructs the Givens rotation matrix G = |c s ; - s c| that zeros out the second entry of a 2x1 vector ( a ; b ) T
float
ref
a
None
b
None
c
None
s
None