2552件ヒット
[1-100件を表示]
(0.111秒)
別のキーワード
ライブラリ
- ビルトイン (1119)
- benchmark (22)
- bigdecimal (22)
- continuation (22)
- csv (33)
- date (22)
- getoptlong (11)
- ipaddr (11)
-
irb
/ cmd / chws (22) -
irb
/ cmd / subirb (33) -
irb
/ output-method (44) - mathn (4)
- matrix (231)
- open-uri (22)
- openssl (22)
- optparse (176)
- pathname (154)
- rake (33)
- readline (11)
-
rexml
/ document (33) - shell (6)
-
shell
/ command-processor (12) - syslog (99)
-
webrick
/ httpservlet / prochandler (11) - zlib (44)
クラス
- Array (163)
- BasicObject (22)
-
Benchmark
:: Tms (22) - BigDecimal (22)
-
CSV
:: Table (11) - Continuation (22)
- Data (6)
- Date (22)
- Enumerator (44)
-
Enumerator
:: Lazy (11) - Fiber (11)
- Float (11)
- GetoptLong (11)
- Hash (52)
- IO (44)
- IPAddr (11)
-
IRB
:: ExtendCommand :: ChangeWorkspace (11) -
IRB
:: ExtendCommand :: CurrentWorkingWorkspace (11) -
IRB
:: ExtendCommand :: Foreground (11) -
IRB
:: ExtendCommand :: IrbCommand (11) -
IRB
:: ExtendCommand :: Kill (11) -
IRB
:: OutputMethod (44) - Integer (55)
- Matrix (152)
- Method (52)
- Module (126)
- Numeric (55)
- Object (66)
-
OpenSSL
:: BN (11) -
OpenSSL
:: OCSP :: BasicResponse (11) - OptionParser (176)
- Pathname (154)
- Proc (11)
-
REXML
:: Element (22) -
REXML
:: Text (11) -
Rake
:: FileList (33) - Rational (4)
- Refinement (3)
- Shell (6)
-
Shell
:: CommandProcessor (12) - String (183)
- Struct (12)
- Symbol (42)
-
Thread
:: Queue (9) - Time (11)
- UnboundMethod (10)
- Vector (79)
-
WEBrick
:: HTTPServlet :: ProcHandler (11) -
Zlib
:: Deflate (11) -
Zlib
:: GzipReader (22) -
Zlib
:: GzipWriter (11)
モジュール
- Enumerable (127)
-
OpenURI
:: OpenRead (22) - Syslog (99)
オブジェクト
- ENV (8)
-
Readline
:: HISTORY (11) - main (7)
キーワード
- ! (11)
- % (22)
- ** (26)
- + (11)
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - << (17)
- === (7)
- >> (6)
-
Data
_ Get _ Struct (11) - Marshal フォーマット (11)
-
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 3
. 1 . 0 (3) - [] (22)
- alert (11)
-
alias
_ command (18) -
alias
_ method (8) -
arg
_ defined (11) - assign (11)
-
bind
_ call (10) - binread (11)
- binwrite (11)
-
block
_ pass (11) - bsearch (22)
- call (33)
-
call
_ trace _ func (11) - capitalize (8)
- capitalize! (8)
-
class
_ exec (11) - close (9)
- collect! (46)
- combine (7)
- concat (16)
- count (11)
- crit (11)
- cross (11)
-
cross
_ product (11) - crypt (11)
- debug (11)
- delete (11)
- delete! (11)
-
deprecate
_ constant (9) - difference (6)
- div (11)
- divmod (22)
- downcase (8)
- downcase! (8)
- each (77)
-
each
_ line (33) -
each
_ with _ index (22) - eigen (11)
- eigensystem (11)
- emerg (11)
- encode (33)
-
end
_ with? (16) -
enum
_ for (22) - err (11)
-
ev
_ const _ defined (11) -
ev
_ const _ get (11) - eval (11)
-
eval
_ node (11) -
eval
_ under (11) - exclude (11)
- execute (55)
- extend (11)
- flush (11)
- fnmatch (11)
- fnmatch? (11)
- format (11)
-
get
_ instance (11) - getopts (22)
-
handle
_ rescue (11) - hash (11)
- hstack (11)
-
import
_ methods (3) - include (11)
- independent? (11)
- info (11)
- insert (11)
-
instance
_ exec (11) -
is
_ defined (11) - log (11)
- lup (11)
-
lup
_ decomposition (11) - map! (46)
- massign (11)
-
max
_ by (44) - merge (12)
- merge! (16)
- mkdir (11)
-
mod
_ mul (11) -
module
_ exec (11) -
module
_ function (7) - modulo (11)
- mult (11)
- new (33)
-
next
_ year (11) - notice (11)
- on (132)
-
on
_ head (11) -
on
_ tail (11) - open (44)
-
parse
_ csv (11) - pow (22)
- pp (11)
- ppx (11)
-
prev
_ year (11) - printf (11)
- printn (11)
- private (14)
-
private
_ class _ method (11) -
private
_ constant (11) - product (22)
- protected (7)
-
public
_ class _ method (11) -
public
_ constant (11) - push (22)
- puts (22)
- raw (11)
-
rb
_ define _ method (11) -
rb
_ eval (11) -
rb
_ f _ eval (11) -
rb
_ iterate (11) -
rb
_ obj _ instance _ eval (11) - read (11)
- readlines (11)
- remainder (11)
-
remove
_ method (11) - resume (11)
- round (11)
-
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 2 feature (11) -
ruby 1
. 8 . 3 feature (11) -
ruby 1
. 8 . 4 feature (11) -
ruby 1
. 9 feature (11) - set (11)
-
set
_ encoding (22) -
set
_ method _ visibility (11) - sign (11)
-
specific
_ eval (11) - squeeze! (11)
-
start
_ with? (16) - sum (22)
- superclass (11)
- swapcase (8)
- swapcase! (8)
- sysopen (11)
- tap (11)
-
to
_ csv (11) -
to
_ enum (22) -
to
_ f (11) -
to
_ h (33) -
transform
_ values! (16) -
undef
_ method (11) - union (6)
- unshift (11)
- upcase (8)
- upcase! (8)
- update (16)
- vstack (11)
- warning (11)
- whitespace (11)
- with (2)
- write (11)
- zip (44)
- 制御構造 (11)
検索結果
先頭5件
-
String
# *(times) -> String (21224.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" (変化なし)
//}... -
Vector
# *(m) -> Matrix (21224.0) -
自分自身を列ベクトル(行列)に変換して (実際には Matrix.column_vector(self) を適用) から、行列 m を右から乗じた行列 (Matrix クラス) を返します。
...トル(行列)に変換して (実際には Matrix.column_vector(self) を適用) から、行列 m を右から乗じた行列 (Matrix クラス) を返します。
@param m 右から乗算を行う行列
@raise ExceptionForMatrix::ErrDimensionMismatch 次元が合わない場合に発生します......=== 注意
引数の行列 m は自分自身を列ベクトルとした場合に乗算が定義できる行列である必要があります。
//emlist[例][ruby]{
require '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 (21224.0) -
self の各要素に数 other を乗じたベクトルを返します。
...
self の各要素に数 other を乗じたベクトルを返します。
@param other self の各要素に掛ける Numeric オブジェクトを指定します。
//emlist[例][ruby]{
require '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.5, -3.0, -5.25, -150.0]
//}... -
Matrix
# *(other) -> Matrix (21223.0) -
self の各成分に数 other を掛けた行列を返します。
...
self の各成分に数 other を掛けた行列を返します。
@param other self の各成分に掛ける Numeric オブジェクトを指定します。... -
Matrix
# *(m) -> Matrix | Vector (21218.0) -
self に行列またはベクトル m を右から乗じた行列を返します。
...
self に行列またはベクトル m を右から乗じた行列を返します。
m が Vector オブジェクトなら返り値も Vector オブジェクトになります。
@param m 右からの乗算が定義可能な行列やベクトルを指定します。
@raise ExceptionForMatrix::Err......DimensionMismatch 次元が合わない場合に発生します... -
Benchmark
:: Tms # *(x) -> Benchmark :: Tms (21216.0) -
self と x の乗算を計算します。
...
self と x の乗算を計算します。
@param x Benchmark::Tms のオブジェクトか Float に暗黙の変換ができるオブジェクトです。
@return 計算結果は新しい Benchmark::Tms オブジェクトです。
@see Benchmark::Tms#memberwise... -
BigDecimal
# *(other) -> BigDecimal (18206.0) -
積を計算します。
...積を計算します。
@param other self に掛ける数を指定します。
計算結果の精度についてはlib:bigdecimal#precisionを参照してください。... -
VALUE rb
_ iterate(VALUE (*call _ proc)() , VALUE date1 , VALUE (*block _ proc)() , date2) (12518.0) -
ブロック付きメソッド(イテレータ)呼び出しを行う関数です.
...roc(data1) を実行します。そしてその関数か
その直下のメソッドで yield が発生すると以下が実行されます。
block_proc(VALUE block_arg, VALUE data2, VALUE self)
block_arg はブロック引数(複数なら配列に入っている)、
data2 は rb_iterate()......に渡したもの、
self は block_proc 呼び出し時点での self です。... -
Module
# protected(*name) -> self (12401.0) -
メソッドを protected に設定します。
...ッドを protected に設定します。
引数なしのときは今後このクラスまたはモジュール定義内で新規に定義さ
れるメソッドを protected に設定します。
引数が与えられた時には引数によって指定されたメソッドを protected
に設定......します。
可視性については d:spec/def#limit を参照して下さい。
@param name 0 個以上の String または Symbol を指定します。
@raise NameError 存在しないメソッド名を指定した場合に発生します。
@see Module#protected_method_defined?... -
Pathname
# expand _ path(default _ dir = & # 39; . & # 39;) -> Pathname (9238.0) -
Pathname.new(File.expand_path(self.to_s, *args)) と同じです。
...Pathname.new(File.expand_path(self.to_s, *args)) と同じです。
@param default_dir self が相対パスであれば default_dir を基準に展開されます。
//emlist[例][ruby]{
require "pathname"
path = Pathname("testfile")
Pathname.pwd # => #<Pathname:/path/to>
path.expand_......path # => #<Pathname:/path/to/testfile>
path.expand_path("../") # => #<Pathname:/path/testfile>
//}
@see File.expand_path...