5867件ヒット
[1-100件を表示]
(0.114秒)
種類
ライブラリ
- ビルトイン (3406)
- benchmark (55)
- bigdecimal (33)
- cmath (18)
- csv (77)
- date (22)
- fiber (16)
- fiddle (11)
-
fiddle
/ import (33) - fileutils (44)
-
irb
/ cmd / help (11) - json (22)
-
json
/ add / bigdecimal (11) -
json
/ add / complex (11) -
json
/ add / date (11) -
json
/ add / date _ time (11) -
json
/ add / exception (11) -
json
/ add / range (11) -
json
/ add / rational (11) -
json
/ add / regexp (11) -
json
/ add / struct (11) -
json
/ add / time (11) - matrix (339)
- monitor (11)
- nkf (11)
- objspace (11)
- open-uri (4)
- open3 (22)
- openssl (44)
- optparse (275)
- pathname (66)
- pp (4)
- prettyprint (11)
- prime (11)
- psych (72)
- rake (22)
- ripper (22)
- rubygems (11)
-
rubygems
/ source _ index (11) -
rubygems
/ specification (33) - set (55)
- socket (33)
- stringio (40)
- strscan (33)
- uri (22)
- win32ole (22)
- zlib (22)
クラス
-
ARGF
. class (11) - Addrinfo (11)
- Array (316)
- BasicObject (66)
-
Benchmark
:: Tms (11) - BigDecimal (44)
- CSV (44)
-
CSV
:: Table (11) - Class (11)
- Complex (55)
- Data (18)
- Date (33)
- DateTime (11)
- Dir (33)
-
Encoding
:: Converter (77) - Enumerator (80)
-
Enumerator
:: Chain (6) -
Enumerator
:: Lazy (120) -
Enumerator
:: Yielder (11) - Exception (22)
- Fiber (44)
-
Fiddle
:: Function (11) - File (121)
- Float (49)
-
Gem
:: SourceIndex (11) -
Gem
:: Specification (33) - Hash (100)
- IO (95)
-
IRB
:: ExtendCommand :: Help (11) - Integer (66)
- MatchData (11)
- Matrix (205)
- Method (74)
- Module (234)
- Numeric (55)
- Object (209)
-
OpenSSL
:: BN (22) - OptionParser (264)
- Pathname (66)
- PrettyPrint (11)
- Prime (11)
- Proc (105)
-
Psych
:: Visitors :: YAMLTree (11) -
Rake
:: FileList (11) - Range (34)
- Rational (33)
- Refinement (3)
- Regexp (44)
- Ripper (22)
- Set (33)
- Socket (22)
- String (278)
- StringIO (40)
- StringScanner (33)
- Struct (78)
- Symbol (10)
- Time (80)
- TracePoint (22)
- UnboundMethod (21)
- Vector (134)
- WIN32OLE (11)
-
WIN32OLE
_ EVENT (11) -
Zlib
:: GzipWriter (22)
モジュール
- Benchmark (44)
- CMath (18)
- Enumerable (341)
-
Fiddle
:: Importer (33) - FileUtils (44)
-
GC
:: Profiler (11) - Kernel (466)
- Marshal (22)
- Math (33)
- ObjectSpace (55)
- Open3 (11)
-
OptionParser
:: Arguable (11) - Process (11)
- Psych (28)
-
Rake
:: TaskManager (11) - URI (22)
キーワード
- ! (11)
-
$ * (11) - % (22)
- ** (44)
- + (11)
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - << (12)
- === (29)
- >> (12)
- ARGV (11)
- ASN1 (11)
- Cipher (11)
- Complex (22)
- DATA (11)
- DOSISH 対応 (11)
- EXXX (11)
- FORMAT (22)
- Float (11)
- GC (11)
- Marshal フォーマット (11)
- MonitorMixin (11)
-
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 2
. 1 . 0 (11) -
NEWS for Ruby 2
. 2 . 0 (10) -
NEWS for Ruby 2
. 3 . 0 (9) -
NEWS for Ruby 2
. 4 . 0 (8) -
NEWS for Ruby 2
. 5 . 0 (7) -
NEWS for Ruby 2
. 6 . 0 (6) -
NEWS for Ruby 2
. 7 . 0 (5) -
NEWS for Ruby 3
. 0 . 0 (4) -
NEWS for Ruby 3
. 1 . 0 (3) - NKF (11)
- Nodes (11)
- Numeric (11)
- Open3 (11)
- Rational (11)
- Ruby が動作するプラットフォーム (11)
- Rubyで使われる記号の意味(正規表現の複雑な記号は除く) (11)
- Rubyの起動 (11)
- Ruby用語集 (11)
- Thread (11)
- Win32 (11)
- Win32ネイティブ版 (11)
- [] (114)
-
_ _ id _ _ (11) -
_ _ send _ _ (22) - accept (22)
-
add
_ dependency (11) -
add
_ development _ dependency (11) -
add
_ runtime _ dependency (11) - advise (11)
-
alias
_ method (11) - alive? (11)
- append (7)
- arity (33)
- at (36)
- attr (11)
-
attr
_ accessor (11) -
attr
_ reader (11) -
attr
_ writer (11) - backtrace (11)
- benchmark (11)
- bigdecimal (11)
-
bigdecimal
/ newton (11) - bind (11)
-
bind
_ call (10) - binmode (11)
- binread (11)
- bm (11)
- bsearch (44)
- call (44)
- caller (33)
- capitalize (8)
- capitalize! (8)
- cgi (11)
-
cgi
/ session (11) - chain (6)
- chmod (11)
- chomp (11)
- chop (11)
- chown (11)
- chunk (11)
-
class
_ exec (11) - close (11)
- collect (78)
- collect! (46)
- collect2 (22)
-
collect
_ concat (33) - combine (14)
- concat (16)
- cos! (6)
- count (11)
- crypt (11)
- curry (22)
- define (4)
-
define
_ task (11) - delete (22)
- delete! (11)
-
deprecate
_ constant (9) - diagonal (11)
- difference (6)
- div (11)
- divmod (22)
- downcase (8)
- downcase! (8)
- drb (11)
- dump (22)
-
dump
_ stream (11) - each (66)
-
each
_ line (22) -
each
_ object (44) -
each
_ with _ index (22) -
each
_ with _ object (22) - eigen (11)
- eigensystem (11)
- empty (11)
- encode (33)
-
end
_ with? (16) - entries (11)
-
enum
_ for (44) - except (6)
- exec (44)
- execute (11)
- extend (11)
- fatal (11)
-
filter
_ map (15) - finish (11)
-
flat
_ map (33) - flock (11)
- fnmatch (22)
- fnmatch? (11)
-
for
_ fd (11) - force (11)
- format (22)
- frexp (11)
-
from
_ gems _ in (11) - ftype (11)
- gamma (11)
- gem (11)
- getaddrinfo (11)
- gethostbyname (11)
- getoptlong (11)
- getopts (33)
- glob (22)
-
grep
_ v (22) - groups (11)
- gsub (33)
- handler= (11)
- hstack (22)
- hypot (11)
-
import
_ methods (3) - include (22)
- initialize (11)
- insert (11)
- inspect (22)
-
instance
_ exec (11) -
int
_ from _ prime _ division (11) - intersection (5)
- irb (11)
- j (11)
- jj (11)
- join (33)
- lazy (11)
- lchmod (11)
- lchown (11)
- lup (11)
-
lup
_ decomposition (11) - makedirs (11)
- map (78)
- map! (46)
- map2 (11)
- match (22)
- mathn (4)
-
max
_ by (44) -
memsize
_ of (11) - merge (12)
- merge! (12)
-
method
_ missing (11) -
mkdir
_ p (11) - mkpath (11)
-
mod
_ inverse (11) -
mod
_ mul (11) - mode (22)
-
module
_ exec (11) -
module
_ function (11) - modulo (11)
- monitor (11)
-
net
/ telnet (9) - new (189)
-
next
_ year (11) - on (132)
-
on
_ head (11) -
on
_ tail (11) - open (70)
- openssl (11)
- optparse (11)
- order (22)
- overlap? (1)
- p (11)
- pack (19)
- pack テンプレート文字列 (11)
- parameters (22)
- parse (11)
-
parse
_ csv (11) - permute (11)
- pipeline (11)
- pow (22)
-
power
_ assert (11) - pp (22)
- prepend (26)
- prettyprint (11)
-
prev
_ year (11) -
primitive
_ convert (44) - print (33)
- printf (33)
- private (11)
-
private
_ class _ method (11) -
private
_ constant (11) - product (22)
-
psych
_ y (11) - public (11)
-
public
_ class _ method (11) -
public
_ constant (11) -
public
_ send (22) - push (22)
- puts (22)
- rake (11)
-
raw
_ data (11) -
rb
_ define _ method (11) -
rb
_ load (11) -
rb
_ protect (11) - rdoc (11)
-
rdoc
/ markdown (11) -
rdoc
/ parser / c (11) - realtime (11)
- refine (11)
- remainder (11)
-
remove
_ method (11) -
respond
_ to _ missing? (11) - resume (11)
- rexml (11)
-
rexml
/ parsers / sax2parser (11) -
rexml
/ parsers / streamparser (11) -
rexml
/ parsers / ultralightparser (11) - round (27)
- rss (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
. 8 . 5 feature (11) -
ruby 1
. 9 feature (11) -
ruby2
_ keywords (10) - rubygems (11)
-
rubygems
/ commands / lock _ command (11) -
rubygems
/ security (11) -
safe
_ load (17) -
scan
_ full (11) -
search
_ full (11) - send (22)
- sin! (6)
- slice (13)
- socket (11)
- spawn (44)
- split (22)
- sprintf (11)
- sprintf フォーマット (11)
- squeeze (11)
- squeeze! (11)
- start (11)
-
start
_ with? (16) - strftime (11)
- struct (11)
- sub (22)
- sum (38)
- swapcase (8)
- swapcase! (8)
- syscall (11)
- system (44)
- tan! (6)
- tap (11)
-
test
/ unit (11) -
to
_ a (22) -
to
_ ary (11) -
to
_ c (11) -
to
_ csv (11) -
to
_ enum (44) -
to
_ f (22) -
to
_ h (33) -
to
_ hash (11) -
to
_ int (11) -
to
_ json (110) -
to
_ r (11) -
to
_ regexp (11) -
to
_ s (11) -
to
_ set (22) -
to
_ str (11) - trace (11)
- transfer (11)
-
transform
_ values (16) -
transform
_ values! (16) -
undef
_ method (11) - union (28)
- unlink (11)
- unpack (11)
- unshift (11)
- upcase (8)
- upcase! (8)
- update (12)
- using (22)
- utime (11)
-
values
_ at (44) - vstack (22)
- warn (22)
-
warn
_ unless _ e _ option (11) - warning (11)
-
warning
_ unless _ e _ option (11) -
webrick
/ cgi (11) - win32ole (11)
- with (2)
-
with
_ index (16) -
with
_ object (11) - write (36)
- xmlrpc (11)
- y (11)
- yaml (11)
- yield (33)
- zip (66)
- オブジェクト指向スクリプト言語 Ruby リファレンスマニュアル (11)
- クラス/メソッドの定義 (11)
- スレッド (11)
- セキュリティモデル (11)
- メソッド呼び出し(super・ブロック付き・yield) (11)
- リテラル (11)
- 制御構造 (11)
- 変数と定数 (11)
- 多言語化 (11)
- 手続きオブジェクトの挙動の詳細 (11)
- 正規表現 (11)
- 演算子式 (11)
検索結果
先頭5件
-
Rational
# *(other) -> Rational | Float (18230.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)
//}... -
Vector
# *(other) -> Vector (18226.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]
//}... -
Complex
# *(other) -> Complex (18224.0) -
積を計算します。
...積を計算します。
@param other 自身に掛ける数
//emlist[例][ruby]{
Complex(1, 2) * 2 # => (2+4i)
Complex(1, 2) * Complex(2, 3) # => (-4+7i)
Complex(1, 2) * Rational(1, 2) # => ((1/2)+(1/1)*i)
//}... -
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
# *(m) -> Matrix (18216.0) -
自分自身を列ベクトル(行列)に変換して (実際には Matrix.column_vector(self) を適用) から、行列 m を右から乗じた行列 (Matrix クラス) を返します。
...に発生します
=== 注意
引数の行列 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 (18214.0) -
指定された sep を間にはさんで連結した文字列を生成して返します。Array#join(sep) と同じ動作をします。
...ep) と同じ動作をします。
@param sep 文字列を指定します。
文字列以外のオブジェクトを指定した場合は to_str メソッドによ
る暗黙の型変換を試みます。
//emlist[例][ruby]{
p [1,2,3] * ","
# => "1,2,3"
//}
@see Array#join... -
Array
# *(times) -> Array (18214.0) -
配列の内容を times 回 繰り返した新しい配列を作成して返します。 値はコピーされないことに注意してください。
...or 引数に整数以外の(暗黙の型変換が行えない)オブジェクトを
指定した場合に発生します。
@raise ArgumentError 引数に負の数を指定した場合に発生します。
//emlist[例][ruby]{
p [1, 2, 3] * 3 #=> [1, 2, 3, 1, 2, 3, 1, 2, 3]
//}... -
Float
# *(other) -> Float (18212.0) -
算術演算子。積を計算します。
...算術演算子。積を計算します。
@param other 二項演算の右側の引数(対象)
//emlist[例][ruby]{
# 積
2.4 * 3 # => 7.2
//}... -
Integer
# *(other) -> Numeric (18212.0) -
算術演算子。積を計算します。
...算術演算子。積を計算します。
@param other 二項演算の右側の引数(対象)
@return 計算結果
//emlist[][ruby]{
2 * 3 # => 6
//}... -
ruby 1
. 6 feature (10465.0) -
ruby 1.6 feature ruby version 1.6 は安定版です。この版での変更はバグ修正がメイン になります。
...ruby 1.6 feature
ruby version 1.6 は安定版です。この版での変更はバグ修正がメイン
になります。
((<stable-snapshot|URL:ftp://ftp.netlab.co.jp/pub/lang/ruby/stable-snapshot.tar.gz>)) は、日々更新される安定版の最新ソースです。
== 1.6.8 (2002-12-24) ->......stable-snapshot
: 2003-01-22: errno
EAGAIN と EWOULDBLOCK が同じ値のシステムで、EWOULDBLOCK がなくなっ
ていました。現在は、このようなシステムでは、EWOULDBLOCK は、EAGAIN
として定義されています。(これは 1.6.7 とは異なる挙......=> -:1:in `sprintf': no implicit conversion from nil (TypeError)
from -:1
ruby 1.6.7 (2002-03-01) [i586-linux]
=> ruby 1.6.7 (2002-07-30) [i586-linux]
"0"
: 2002-05-23 -* オプション(?)
以前まで、
#! ruby -*- mode: ruby -*-
の...