るりまサーチ

最速Rubyリファレンスマニュアル検索!
5706件ヒット [1-100件を表示] (0.103秒)
トップページ > クエリ:i[x] > クエリ:*[x] > 種類:インスタンスメソッド[x]

別のキーワード

  1. _builtin to_i
  2. fiddle to_i
  3. matrix elements_to_i
  4. matrix i
  5. csv to_i

ライブラリ

クラス

キーワード

検索結果

<< 1 2 3 ... > >>

Rational#*(other) -> Rational | Float (21225.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/8)
//}...

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

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

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

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

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

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

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

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

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

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

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

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

BigDecimal#*(other) -> BigDecimal (21201.0)

積を計算します。

...積を計算します。

@param other self に掛ける数を指定します。

計算結果の精度についてはlib:bigdecimal#precisionを参照してください。...

Bignum#*(other) -> Fixnum | Bignum | Float (21201.0)

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

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

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

絞り込み条件を変える

Fixnum#*(other) -> Fixnum | Bignum | Float (21201.0)

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

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

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

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

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

...を返します。

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

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

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

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

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

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

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

Rake::FileList#*(other) -> Array | String (21201.0)

Array#* と動作を合わせるために再定義しています。

...Array#* と動作を合わせるために再定義しています。


@see Array#*...

Gem::VersionOption#add_version_option(task = command, *wrap) (18302.0)

option parser に対して --version オプションを追加します。

...option parser に対して --version オプションを追加します。

@param task コマンド名を指定します。デフォルト値はインクルードされる側のクラスで指定されます。

@param wrap Gem::Command#add_option に渡すその他のオプションを指定しま...

絞り込み条件を変える

Array#*(sep) -> String (18208.0)

指定された sep を間にはさんで連結した文字列を生成して返します。Array#join(sep) と同じ動作をします。

...ます。Array#join(sep) と同じ動作をします。

@param sep 文字列を指定します。
文字列以外のオブジェクトを指定した場合は to_str メソッドによ
る暗黙の型変換を試みます。

//emlist[例][ruby]{
p [1,2,3] * ","
# => "1,2,3"
/...
.../}

@see Array#join...
<< 1 2 3 ... > >>