Sub:
산술연산자,arithmetic_operator -
산술,arithmetic ...
가장 생각하기 쉬운/흔한 연산자? 피연산자,operand는 수,number이고, ex. 가감승제 등.
미분연산자,differentiation_operator
미분연산자,differential_operator
논리연산자,logical_operator -
논리연산,logical_operation
비트연산자,bitwise_operator
비교연산자,comparison_operator -
비교,comparison ... > < = ≠ ≤ ≥
PL에서는 equal to
(==)
, identical to
(===)
연산자를 구분하기도... tbw.
C언어 유래? 인 trinary operator도 이거로 분류.
(: ?)
< | less than | true if LHS is less than RHS |
> | greater than | |
<= | less than or equal to | |
>= | greater than or equal to | |
cond?a:b | trinary | a if cond is true, b otherwise |
선형연산자,linear_operator =
선형작용소,linear_operator
// operand의 수,
parameter/
argument/
항,term의 수,
arity {
arity } ? ....에 따라
nullary
unary - unary_operator
binary - binary_operator - 이때 그리고 infix_notation 일 때 두 operands를 LHS and RHS라 보통 부름
tertiary? ternary_operator {
Ternary_operator redir to Ternary_operation }
...
prefix_operator =,prefix_operator {
prefix_operator ? } -
전위표기법,prefix_notation
infix_operator -
중위표기법,infix_notation
postfix_operator -
후위표기법,postfix_notation
... curr at
표기법,notation
연산자우선순위,operator_precedence
연산자오버로딩 -
오버로딩,overloading을 함수 말고 연산자에 하는
https://ko.wikipedia.org/wiki/연산자_오버로딩
https://en.wikipedia.org/wiki/Operator_overloading
// 논리학 집합론 쪽? 이것들은
logical_argument를 받아 result를 return? 그
값,value이
진리값,truth_value? chk
parametric_operator
minimal_negation_operator
sole_sufficient_operator =,sole_sufficient_operator . sole_sufficient_operator
bounded_operator bounded_operator
폐포연산자,closure_operator w rr
ADDHERE
ADDHERE
ADDHERE
ADDHERE
ADDHERE
ADDHERE
$\displaystyle \frac{d}{dt}$ 를 기울기(
기울기,gradient or
기울기,slope) 정보를 얻기 위해 함수에 적용하는 연산자로 생각할 수 있다.
// 이하 PL 연산자
대입,assignment or
할당,assignment
수학에선 연산자가 아닌 것 같은데(?) PL에선 esp.
식,expression에선 연산자로 본다 - 왜?
right-to-left associative이고, 대입한 값이 돌려지는 것을 보면,
다중 대입문(ex.
a=b=c=d=0;
같이 여러 변수에 한번에 0을 대입)을 편하게 하기 위해서인가?
저건 a=(b=(c=(d=0)));
으로 해석됨.
=
혹은
:=
- equality의 연산자와 비슷, 초보자는 혼동 주의.
| C 계열 | Pascal 계열 |
대입,assignment | = | := |
equality test | == | = |
여기에 추가적으로, PL엔 대개, 계산 후 바로 assignment하는 operator도 있다.
a+=5;
- addition-assignment
$a .= 5;
- concatenation-assignment
++
autoincrement
--
autodecrement
이것도 수학에선 쓰지 않는 연산자이고
그냥 편의를 위한??
C언어가 유래?
앞에 붙는지 뒤에 붙는지에 따라 차이가 있는.. TBW
C언어_연산자
{
피연산자의 개수에 따른 분류
단항 연산자(unary operator)
이항 연산자(binary operator)
삼항 연산자(ternary operator)
기능별 분류
산술 연산자 + - * / %
부호 연산자 + -
대입 연산자 = (복합 대입 연산자: += -= *= /= %= <<= >>= &= |= ^=)
관계 연산자 == != <= < >= >
증감 연산자 ++ --
전위형(prefix)과 후위형(postfix)이 있다.
포인터 연산자 * & []
구조체 연산자 . ->
논리 연산자 || && !
비트 연산자 | & ~ >> <<
삼항 조건 연산자 ? :
쉼표 연산자 ,
sizeof 연산자 sizeof
캐스트 연산자 (type) type()
괄호 연산자 ()
C++ 연산자 new delete :: .* ->*
(from
http://www.soen.kr/lecture/ccpp/cpp1/5-1-1.htm)
}
QQQ '작용소'가 동의어이긴 한데 혹시 뉘앙스차이같은게 있는건지? 아님 굳이 생각할 필요 없나?
작용소... 물리쪽에서 좀 더 자주 보이는 느낌.
해밀토니언,Hamiltonian =해밀토니언,Hamiltonian =,Hamiltonian 해밀토니언 Hamiltonian
{
chk kn Hamiltonian