C# Class MyMath

Mostra file Open project: ufcpp/UfcppSample Class Usage Examples

Public Methods

Method Description
Test ( ) : void

Private Methods

Method Description
Sin ( double x ) : double

sin x を求める関数。 テイラー展開を利用。 かなり適当に作ってるので、この方法ではそんなに精度はよくない。 とはいえ、10桁程度なら C# 標準の Sin 関数と値が一致するはず。

Method Details

Test() public static method

public static Test ( ) : void
return void