← 수업 제작 도구
홈 › Index › conic (type)

conic (type) (타입 conic)

원본: Computation Layer 문서(conic (type))

코드 안의 회색 줄은 원문 영어 주석이고, 파란 줄은 그 영어 주석의 번역이며, 연분홍 줄은 코드가 하는 일의 설명이다. 항목 설명은 번역이 아니라 해석이며 원문은 접어 둔 "원문(영어) 보기"에 있다.

원뿔곡선(conic section)을 나타낸다.

원문(영어) 보기

Represents a conic section.

속성(Attributes)

getCoefficient type:conic:getCoefficient

conic의 3x3 계수 행렬을 가져온다. 각 행은 x의 항, 각 열은 y의 항을 나타낸다.

원문(영어) 보기

Get the 3x3 coefficient matrix of a conic where each row represents x terms and each column represents y terms.

# Create a variable for a conic type using the
# latex input from this component.
▷ 이 구성요소의 latex 입력으로 conic 타입 변수를 만든다.
fn = conic(this.latex)
▶ 변수 fn은 conic(this.latex), 즉 이 구성요소에 입력한 latex로 만든 conic(원뿔곡선) 객체로 한다.
conic(latex)는 latex 글자로 conic(원뿔곡선) 객체를 만들고, latex는 입력한 식의 LaTeX 글자를 가져온다.
# Get the coefficients in columns 1, 2, and 3 of # The first row of the coefficient matrix. ▷ 계수 행렬의 첫 번째 행에서 1, 2, 3열의 계수를 가져온다. c11 = fn.getCoefficient(1,1) ▶ 변수 c11은 fn.getCoefficient(1,1), 즉 1행 1열의 계수로 한다.
getCoefficient(행, 열)은 3x3 계수 행렬에서 그 행과 열의 계수를 가져온다. 행은 x의 항, 열은 y의 항에 해당한다.
c12 = fn.getCoefficient(1,2) ▶ 변수 c12는 fn.getCoefficient(1,2), 즉 1행 2열의 계수로 한다. c13 = fn.getCoefficient(1,3) ▶ 변수 c13은 fn.getCoefficient(1,3), 즉 1행 3열의 계수로 한다. # Get The coefficients in columns 1 and 2 of # the second row of the coefficient matrix. ▷ 계수 행렬의 두 번째 행에서 1열과 2열의 계수를 가져온다. c21 = fn.getCoefficient(2,1) ▶ 변수 c21은 fn.getCoefficient(2,1), 즉 2행 1열의 계수로 한다. c22 = fn.getCoefficient(2,2) ▶ 변수 c22는 fn.getCoefficient(2,2), 즉 2행 2열의 계수로 한다. # Get the coefficient in column 1 of row 3 # of the coefficient matrix. ▷ 계수 행렬의 세 번째 행에서 1열의 계수를 가져온다. c31 = fn.getCoefficient(3,1) ▶ 변수 c31은 fn.getCoefficient(3,1), 즉 3행 1열의 계수로 한다.

verticalParabola type:conic:verticalParabola

conic이 y축에 나란한 포물선이면 포물선(parabola) 객체를 돌려준다.

원문(영어) 보기

Returns a parabola object if the conic is a parabola aligned to the y axis.

# Create a variable for a conic type using the
# latex input from this component.
# Specify that the conic be a vertical parabola.
▷ 이 구성요소의 latex 입력으로 conic 타입 변수를 만든다. 이 conic이 수직 포물선이 되도록 지정한다.
fn = conic(this.latex).verticalParabola
▶ 변수 fn은 conic(this.latex).verticalParabola, 즉 이 구성요소에 입력한 latex로 만든 conic의 포물선(parabola) 객체로 한다.
conic(latex)는 latex 글자로 conic(원뿔곡선) 객체를 만들고, .verticalParabola는 conic이 y축에 나란한 포물선이면 포물선 객체를 돌려준다.
# get the coefficient of the x^2 term from the vertical parabola ▷ 수직 포물선에서 x^2 항의 계수를 가져온다. a = fn.getCoefficient(3,1) ▶ 변수 a는 fn.getCoefficient(3,1), 즉 3행 1열의 계수로 한다.
getCoefficient(행, 열)은 3x3 계수 행렬에서 그 행과 열의 계수를 가져온다. 행은 x의 항, 열은 y의 항에 해당한다.
# get the coefficient of the x term from the vertical parabola ▷ 수직 포물선에서 x 항의 계수를 가져온다. b = fn.getCoefficient(2,1) ▶ 변수 b는 fn.getCoefficient(2,1), 즉 2행 1열의 계수로 한다. # get the coefficient of the constant term from the vertical parabola ▷ 수직 포물선에서 상수항의 계수를 가져온다. c = fn.getCoefficient(1,1) ▶ 변수 c는 fn.getCoefficient(1,1), 즉 1행 1열의 계수로 한다.

horizontalParabola type:conic:horizontalParabola

conic이 x축에 나란한 포물선이면 포물선 객체를 돌려준다.

원문(영어) 보기

Returns a parabola object if the conic is a parabola aligned to the x axis.

# Create a variable for a conic type using the
# latex input from this component.
# Specify that the conic be a horizontal parabola.
▷ 이 구성요소의 latex 입력으로 conic 타입 변수를 만든다. 이 conic이 수평 포물선이 되도록 지정한다.
fn = conic(this.latex).horizontalParabola
▶ 변수 fn은 conic(this.latex).horizontalParabola, 즉 이 구성요소에 입력한 latex로 만든 conic의 포물선 객체로 한다.
conic(latex)는 latex 글자로 conic(원뿔곡선) 객체를 만들고, .horizontalParabola는 conic이 x축에 나란한 포물선이면 포물선 객체를 돌려준다.
# get the coefficient of the y^2 term from the horizontal parabola ▷ 수평 포물선에서 y^2 항의 계수를 가져온다. a = fn.getCoefficient(1,3) ▶ 변수 a는 fn.getCoefficient(1,3), 즉 1행 3열의 계수로 한다.
getCoefficient(행, 열)은 3x3 계수 행렬에서 그 행과 열의 계수를 가져온다. 행은 x의 항, 열은 y의 항에 해당한다.
# get the coefficient of the y term from the horizontal parabola ▷ 수평 포물선에서 y 항의 계수를 가져온다. b = fn.getCoefficient(1,2) ▶ 변수 b는 fn.getCoefficient(1,2), 즉 1행 2열의 계수로 한다. # get the coefficient of the constant term from the horizontal parabola ▷ 수평 포물선에서 상수항의 계수를 가져온다. c = fn.getCoefficient(1,1) ▶ 변수 c는 fn.getCoefficient(1,1), 즉 1행 1열의 계수로 한다.