3477件ヒット
[1-100件を表示]
(0.106秒)
ライブラリ
- ビルトイン (1677)
- bigdecimal (33)
- cmath (18)
- drb (22)
- e2mmap (30)
- fiber (8)
-
fiddle
/ import (11) - getoptlong (11)
- matrix (190)
-
minitest
/ spec (1) -
minitest
/ unit (2) - mkmf (22)
-
net
/ ftp (66) -
net
/ smtp (55) - observer (11)
- open-uri (74)
- openssl (352)
- optparse (253)
-
rdoc
/ markup (11) - readline (22)
- resolv (11)
- rubygems (11)
- set (22)
-
shell
/ command-processor (12) - socket (55)
- stringio (51)
- syslog (99)
- tracer (22)
- uri (22)
- win32ole (44)
- zlib (154)
クラス
- Addrinfo (11)
- Array (82)
- BasicObject (11)
- BasicSocket (22)
- BigDecimal (33)
-
DRb
:: DRbServer (11) - Data (14)
-
Enumerator
:: Lazy (82) - Exception (11)
- Fiber (33)
- File (117)
- Float (16)
- GetoptLong (11)
- Hash (11)
- IO (381)
- Integer (33)
- Matrix (113)
- Module (97)
-
Net
:: FTP (66) -
Net
:: SMTP (55) - Object (67)
-
OpenSSL
:: BN (44) -
OpenSSL
:: OCSP :: BasicResponse (11) -
OpenSSL
:: PKCS7 (44) -
OpenSSL
:: PKey :: DH (55) -
OpenSSL
:: PKey :: DSA (44) -
OpenSSL
:: PKey :: EC :: Group (33) -
OpenSSL
:: PKey :: RSA (99) -
OpenSSL
:: X509 :: Certificate (11) - OptionParser (242)
- Proc (44)
-
RDoc
:: Markup (11) - Range (22)
-
Resolv
:: DNS (11) - Set (22)
-
Shell
:: CommandProcessor (12) - Socket (22)
- String (11)
- StringIO (51)
- Struct (55)
- Thread (49)
- TracePoint (22)
- Tracer (22)
- Vector (77)
- WIN32OLE (22)
-
WIN32OLE
_ EVENT (22) -
Zlib
:: GzipReader (154)
モジュール
- CMath (18)
- DRb (11)
- Enumerable (11)
- Exception2MessageMapper (30)
-
Fiddle
:: Importer (11) - Kernel (357)
- Marshal (22)
- Math (55)
-
MiniTest
:: Assertions (2) - Observable (11)
-
OpenSSL
:: ASN1 (11) - OpenURI (22)
-
OpenURI
:: OpenRead (22) -
OptionParser
:: Arguable (11) - Process (66)
-
Process
:: GID (11) -
Process
:: UID (11) - Readline (22)
- Syslog (99)
- URI (36)
オブジェクト
- main (33)
キーワード
- ** (33)
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - === (11)
- Complex (22)
- Fail (12)
- Float (11)
-
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 2
. 1 . 0 (11) -
NEWS for Ruby 2
. 5 . 0 (7) -
NEWS for Ruby 2
. 7 . 0 (5) -
NEWS for Ruby 3
. 0 . 0 (4) - Rational (11)
- Rubyの起動 (3)
- Thread (11)
- [] (37)
- accept (22)
- acosh (11)
-
add
_ filter (22) -
add
_ word _ pair (11) - advise (11)
- alert (11)
-
alias
_ command (12) - asinh (11)
-
assert
_ in _ epsilon (1) -
assert
_ raises (1) - backtrace (11)
- bsearch (44)
- call (11)
- caller (33)
- chmod (11)
- chown (11)
- chunk (11)
- collect2 (22)
-
collect
_ concat (11) - combine (14)
-
connect
_ address (11) - cos! (6)
- crit (11)
- cross (11)
-
cross
_ product (11) - debug (11)
- decrypt (11)
- define (4)
- delete (11)
-
deprecate
_ constant (9) - dir (22)
- dlload (11)
- dump (22)
- each (22)
-
each
_ byte (22) -
each
_ line (22) - eigen (11)
- eigensystem (11)
-
emacs
_ editing _ mode (11) - emerg (11)
- empty (11)
-
enum
_ for (44) - err (11)
- exec (44)
- fail (6)
-
filter
_ map (5) -
flat
_ map (11) - flock (11)
-
for
_ fd (11) - fork (11)
- frexp (11)
- ftype (11)
- gamma (11)
- gem (11)
- generate (22)
- getaddrinfo (11)
- getc (11)
- getnameinfo (11)
- getopts (55)
- getresource (11)
- gets (11)
-
grant
_ privilege (22) - groups (11)
- hstack (22)
- hypot (11)
- include (22)
- info (11)
- insert (11)
- intersection (5)
- invoke (11)
- join (22)
- kill (11)
- lchmod (11)
- lchown (11)
- lineno (11)
- list (22)
- log (11)
- ls (22)
- lutime (7)
- map2 (11)
-
method
_ missing (22) -
mod
_ inverse (11) -
mod
_ mul (11) - mode (22)
- mult (11)
-
must
_ raise (1) - new (279)
- notice (11)
-
notify
_ observers (11) - on (132)
-
on
_ event (11) -
on
_ event _ with _ outargs (11) - open (74)
-
open
_ uri (22) - order (22)
- p (11)
- parse (11)
- permute (11)
- pipe (44)
-
point
_ conversion _ form (11) - popen (154)
- pow (22)
- print (33)
- printf (44)
- private (22)
-
private
_ constant (11) -
private
_ decrypt (11) -
private
_ encrypt (11) - protected (11)
- public (22)
-
public
_ constant (11) -
public
_ decrypt (11) -
public
_ encrypt (11) -
public
_ key (11) -
public
_ send (22) - puts (33)
-
rb
_ time _ timespec _ new (9) - read (55)
- readchar (11)
- readline (11)
- readlines (11)
- readpartial (11)
- ready (11)
-
remove
_ method (11) -
report
_ on _ exception (8) -
report
_ on _ exception= (8) - resume (11)
- round (16)
-
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 4 feature (11) - seek (22)
-
send
_ mail (11) - sendmail (11)
- setpriority (11)
- setrlimit (22)
- shutdown (11)
- sign (11)
- sin! (6)
- spawn (55)
- split (11)
- start (11)
-
start
_ service (11) - status (11)
- sub (22)
- syscall (11)
- sysread (11)
- sysseek (11)
- system (44)
- tan! (6)
-
to
_ enum (44) - trace (11)
- transfer (11)
- traverse (11)
-
try
_ do (22) -
undef
_ method (11) - ungetc (11)
- unlink (11)
- utime (11)
-
values
_ at (11) - verify (11)
-
vi
_ editing _ mode (11) - vstack (11)
- warn (11)
- warning (11)
- with (2)
- write (14)
-
write
_ smime (11) - yield (22)
- zip (22)
- スレッド (11)
- 制御構造 (11)
検索結果
先頭5件
-
String
# *(times) -> String (18224.0) -
文字列の内容を times 回だけ繰り返した新しい文字列を作成して返します。
...self を times 回繰り返した新しい文字列
@raise ArgumentError 引数に負数を指定したときに発生します。
//emlist[例][ruby]{
p "str" * 3 # => "strstrstr"
str = "abc"
p str * 4 # => "abcabcabcabc"
p str * 0 # => ""
p str # => "abc" (変化なし)
//}... -
Vector
# *(other) -> Vector (18220.0) -
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]
//}... -
Array
# *(times) -> Array (18219.0) -
配列の内容を times 回 繰り返した新しい配列を作成して返します。 値はコピーされないことに注意してください。
...ます。
@raise TypeError 引数に整数以外の(暗黙の型変換が行えない)オブジェクトを
指定した場合に発生します。
@raise ArgumentError 引数に負の数を指定した場合に発生します。
//emlist[例][ruby]{
p [1, 2, 3] * 3 #=> [1, 2, 3... -
Vector
# *(m) -> Matrix (18215.0) -
自分自身を列ベクトル(行列)に変換して (実際には Matrix.column_vector(self) を適用) から、行列 m を右から乗じた行列 (Matrix クラス) を返します。
...ctor(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]]
//}... -
Array
# *(sep) -> String (18209.0) -
指定された sep を間にはさんで連結した文字列を生成して返します。Array#join(sep) と同じ動作をします。
...ep) と同じ動作をします。
@param sep 文字列を指定します。
文字列以外のオブジェクトを指定した場合は to_str メソッドによ
る暗黙の型変換を試みます。
//emlist[例][ruby]{
p [1,2,3] * ","
# => "1,2,3"
//}
@see Array#join... -
Matrix
# *(m) -> Matrix | Vector (18206.0) -
self に行列またはベクトル m を右から乗じた行列を返します。
...を返します。
m が Vector オブジェクトなら返り値も Vector オブジェクトになります。
@param m 右からの乗算が定義可能な行列やベクトルを指定します。
@raise ExceptionForMatrix::ErrDimensionMismatch 次元が合わない場合に発生します... -
OpenSSL
:: BN # *(other) -> OpenSSL :: BN (18206.0) -
自身と other の積を返します。
...自身と other の積を返します。
@param other かける数
@raise OpenSSL::BNError 計算時エラー
@see OpenSSL::BN#mod_mul... -
Matrix
# *(other) -> Matrix (18201.0) -
self の各成分に数 other を掛けた行列を返します。
self の各成分に数 other を掛けた行列を返します。
@param other self の各成分に掛ける Numeric オブジェクトを指定します。 -
Exception2MessageMapper
# Raise(exception _ class = nil , *rest) -> () (15333.0) -
登録されている情報を使用して、例外を発生させます。
...報を使用して、例外を発生させます。
@param exception_class 例外クラス。
@param rest メッセージに埋め込む値。
@raise Exception2MessageMapper::ErrNotRegisteredException 指定された例外クラスに対応するメッセージが存在しない場合に発生し......# =>
def foo
Raise NewExceptionClass, 1, 2, 3
end
end
Foo.new().foo() #=> in `Raise': message...1, 2 and 3 (Foo::NewExceptionClass)
# という例外が発生します。
Foo.Raise Foo::NewExceptionClass, 1, 3, 5 #=> in `Raise': message...1, 3 and... -
Exception2MessageMapper
. Raise(klass = E2MM , exception _ class = nil , *rest) -> () (15309.0) -
登録されている情報を使用して、例外を発生させます。
...階層上となるクラス名を指定します。
@param exception_class 例外クラス。
@param rest メッセージに埋め込む値。
@raise Exception2MessageMapper::ErrNotRegisteredException 指定された例外クラスに対応するメッセージが存在しない場合に発生し...