반응형 Function2 클래스(Class) 클래스와 객체는 객체지향프로그래밍에서 나오는 용어입니다. 클래스(Class)는 프로그램을 이용해서 객체를 만들어주는 역할을 하고, 객체(Object)는 클래스에 의해서 만들어지는 결과물(Instance)을 말합니다. 클래스 클래스의 속성은 자료(data)를 나타내며, 명사 형태로 기술합니다. 속성 앞부분의 (-, +)는 외부에서 접근여부를 나타내는 기호입니다. - 기호는 외부에서 접근을 차단하여 해당 자료를 은닉(private)화 시키고, +는 외부에서 접근을 허용하도록 공용(pubic)화 시킵니다. 또한 클래스의 행위는 자료를 연산하거나 조작하는 역할을 하며, 동사 형태로 기술하고, 프로그램에서는 기능을 정의하는 함수로 표현합니다. 객체 객체는 클래스에 의해서 만들어지는 결과물입니다. 클래스의 속성에 .. 2023. 3. 11. Linear Transformation Transformation A transformation, function, or mapping, T maps an input x to an output y Mathematical notation: T: x -> y Domain: Set of all the possible values of x (정의역) Co-domain: Set of all the possible values of y (공역) Image: a mapped output y, given x Range: Set of all the output values mapped by each x in the domain (치역) Note: the output mapped by a particular x is uniquely determined. Lin.. 2023. 1. 3. 이전 1 다음 반응형