Skip to Content
밑바닥부터 시작하는 비트코인
book

밑바닥부터 시작하는 비트코인

by 류정필, 송재준
November 2019
Beginner to intermediate
408 pages
9h 29m
Korean
Hanbit Media, Inc.
Content preview from 밑바닥부터 시작하는 비트코인
밑바닥부터 시작하는 비트코인
78
메서드의 마지막 부분에서
self
객체가 속한 클래스 (여기서는
Point
클래스 )를 의미하는
self
.
class
속성을 사용해서
Point
클래스의 인스턴스를 반환합니다.
연습문제
2.5
x
1
≠
x
2
인 경우에
__
add
__
메서드를 작성하시오.
2.8
P
1
=
P
2
인 경우의 점 덧셈
두 점의
x
좌표는 같고
y
좌표는 다른 경우 두 점은
x
축을 사이에 서로 반대편에 위치하게 됩니
다. 수식으로 표현하면 다음과 같습니다.
P
1
=
-
P
2
또는
P
1
+
P
2
=
I
이 경우는 이미 [연습문제
2
.
3
]에서 다뤘습니다.
그런데
P
1
=
P
2
인 경우는 어떤가요? 곡선 위의 동일한 두 점을 이은 직선은 그 점에서의
접선
을 의미합니다. 따라서 그래프에서 곡선 위의 점
P
1
에서 접하는 접선을 계산해야 합니다. 그리
고 이 접선이 곡선의 다른 부분에서 만나는
교점
을 찾아야 합니다. 이것을 그래프로 표현하면
[그림
2
-
18
]과 같습니다.
2
장
타원곡선
79
그림
2-18
곡선에 접하는 직선
접선의 기울기를 구하면 다음과 같습니다.
P
1
= (
x
1
,
y
1
),
P
3
= (
x
3
,
y
3
)
P
1
+
P
1
=
P
3
s
= (
3
x
1
2
+
a
)
/
(
2
y
1
)
P
3
을 구하는 공식은
x
1
=
x
2
라는 조건을 이전 유도 결과에 대입하면 아래처럼 구할 수 있습
니다.
x
3
=
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

밑바닥부터 시작하는 딥러닝

밑바닥부터 시작하는 딥러닝

사이토 고키
견고한 데이터 엔지니어링

견고한 데이터 엔지니어링

조 라이스, 맷 하우슬리
실리콘밸리 리더십

실리콘밸리 리더십

김정혜, 마이클 롭

Publisher Resources

ISBN: 9791162248294