るりまサーチ

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

別のキーワード

  1. openssl t61string
  2. asn1 t61string
  3. matrix t
  4. t61string new
  5. fiddle type_size_t

ライブラリ

クラス

キーワード

検索結果

<< 1 2 3 ... > >>

Gem::UserInteraction#terminate_interaction(*args) -> () (27501.0)

アプリケーションを終了します。

...アプリケーションを終了します。

@param args 委譲先のメソッドに与える引数です。...

Rational#*(other) -> Rational | Float (24355.0)

積を計算します。

...します。

@param other 自身に掛ける数

other に Float を指定した場合は、計算結果を Float で返しま
す。

//emlist[例][ruby]{
r
= Rational(3, 4)
r
* 2 # => (3/2)
r
* 4 # => (3/1)
r
* 0.5 # => 0.375
r
* Rational(1, 2) # => (3...

String#*(times) -> String (24319.0)

文字列の内容を times 回だけ繰り返した新しい文字列を作成して返します。

... times 回だけ繰り返した新しい文字列を作成して返します。

@param times 整数
@return self を times 回繰り返した新しい文字列

@raise ArgumentError 引数に負数を指定したときに発生します。

//emlist[例][ruby]{
p "str" * 3 # => "strstr...
...str"

str = "abc"
p str * 4 # => "abcabcabcabc"
p str * 0 # => ""
p str # => "abc" (変化なし)
//}...

Integer#*(other) -> Numeric (24307.0)

算術演算子。積を計算します。

...算術演算子。積を計算します。

@param other 二項演算の右側の引数(対象)
@return 計算結果

//emlist[][ruby]{
2 * 3 # => 6
//}...

Vector#*(m) -> Matrix (24307.0)

自分自身を列ベクトル(行列)に変換して (実際には Matrix.column_vector(self) を適用) から、行列 m を右から乗じた行列 (Matrix クラス) を返します。

...トル(行列)に変換して (実際には Matrix.column_vector(self) を適用) から、行列 m を右から乗じた行列 (Matrix クラス) を返します。

@param m 右から乗算を行う行列
@raise ExceptionForMatrix::ErrDimensionMismatch 次元が合わない場合に発生します...
...=== 注意

引数の行列 m は自分自身を列ベクトルとした場合に乗算が定義できる行列である必要があります。

//emlist[例][ruby]{
r
equire 'matrix'

v = Vector[1, 2]
a = [4, 5, 6]
m = Matrix[a]

p v * m # => Matrix[[4, 5, 6], [8, 10, 12]]
//}...

絞り込み条件を変える

Vector#*(other) -> Vector (24302.0)

self の各要素に数 other を乗じたベクトルを返します。

...数 other を乗じたベクトルを返します。

@param other self の各要素に掛ける Numeric オブジェクトを指定します。

//emlist[例][ruby]{
r
equire 'matrix'
a = [1, 2, 3.5, 100]
v1 = Vector.elements(a)
p v1.*(2) # => Vector[2, 4, 7.0, 200]
p v1.*(-1.5) # => Vector[-1....

Benchmark::Tms#*(x) -> Benchmark::Tms (24301.0)

self と x の乗算を計算します。

...self と x の乗算を計算します。

@param x Benchmark::Tms のオブジェクトか Float に暗黙の変換ができるオブジェクトです。

@return 計算結果は新しい Benchmark::Tms オブジェクトです。

@see Benchmark::Tms#memberwise...

Matrix#*(m) -> Matrix | Vector (24301.0)

self に行列またはベクトル m を右から乗じた行列を返します。

...た行列を返します。

m が Vector オブジェクトなら返り値も Vector オブジェクトになります。

@param m 右からの乗算が定義可能な行列やベクトルを指定します。

@raise ExceptionForMatrix::ErrDimensionMismatch 次元が合わない場合に発生し...

Matrix#*(other) -> Matrix (24301.0)

self の各成分に数 other を掛けた行列を返します。

...self の各成分に数 other を掛けた行列を返します。

@param other self の各成分に掛ける Numeric オブジェクトを指定します。...
<< 1 2 3 ... > >>