るりまサーチ

最速Rubyリファレンスマニュアル検索!
36件ヒット [1-36件を表示] (0.079秒)

別のキーワード

  1. text normalize
  2. text normalize_comment
  3. vector normalize
  4. generic normalize
  5. matrix normalize

ライブラリ

キーワード

検索結果

Vector#magnitude -> Float (18109.0)

ベクトルの大きさ(ノルム)を返します。

...ベクトルの大きさ(ノルム)を返します。

//emlist[例][ruby]{
require 'matrix'
Vector
[3, 4].norm # => 5.0
Vector
[Complex(0, 1), 0].norm # => 1.0
//}

@see Vector#normalize...

Vector#norm -> Float (3009.0)

ベクトルの大きさ(ノルム)を返します。

...ベクトルの大きさ(ノルム)を返します。

//emlist[例][ruby]{
require 'matrix'
Vector
[3, 4].norm # => 5.0
Vector
[Complex(0, 1), 0].norm # => 1.0
//}

@see Vector#normalize...

Vector#r -> Float (3009.0)

ベクトルの大きさ(ノルム)を返します。

...ベクトルの大きさ(ノルム)を返します。

//emlist[例][ruby]{
require 'matrix'
Vector
[3, 4].norm # => 5.0
Vector
[Complex(0, 1), 0].norm # => 1.0
//}

@see Vector#normalize...