|
행렬의 곱 ***");
System.out.println();
for(k = 0; k < fst_size[0]; k++){ // 두 행렬의 곱셈하여 출력
System.out.print("\t" + "|" + "\t");
for(i=0; i < snd_size[1]; i++){
for(j = 0; j < fst_size[1]; j++){
total = total + (first_matrix[k][j] * second_matrix[j][i]);
}
System.out.print(total+"\
|
- 페이지 6페이지
- 가격 1,500원
- 등록일 2004.06.18
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
프로그램을
작성하시오.
import java.util.Scanner;
public class no5 {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
System.out.print("원의 반지름 입력: ");
double radius = s.nextDouble();
System.out.println("\t반지름이 " + radius + "인 원의 면적= " + Area(radius)
|
- 페이지 19페이지
- 가격 2,000원
- 등록일 2008.05.31
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
행렬 B 출력
printf("\nB = \n");
for(i = 0; i < m; i++){
printf(" ");
for(j = 0; j < n; j++){
printf("%3d ", B[i][j]);
}
printf("\n");
}
// 행렬 A와 행렬 B의 곱 연산
printf("\nA * B = \n\n");
for(i = 0; i < x; i++) {
printf(" ");
for(j = 0; j < n; j++) {
for(k = 0; k < y; k++) {
temp =
|
- 페이지 4페이지
- 가격 1,500원
- 등록일 2004.05.31
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
#include <iostream>
using namespace std;
#define MAX 10000
int minmult(int n, const int d[], int P[7][7])
{
int i, j, k, diagonal;
int M[7][7];
int imsi;
for (i = 1; i <= n; i++)
for (j = 1; j <= n; j++)
M[i][j] = P[i][j] = 0;
for (diagonal = 1; diagonal <=
|
- 페이지 2페이지
- 가격 2,000원
- 등록일 2005.11.23
- 파일종류 기타
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
typedef struct _node *nodeptr;
typedef struct _headnode { // 희소행렬의 헤드 노드 선언
int row; // 행사이즈
int col; // 열사이즈
int num; // 원소 갯수
nodeptr *rows; // 각 행의 헤드
nodeptr *cols; // 각 열의 헤드
} headnode;
typedef struct _node { // 원소가 저
|
- 페이지 5페이지
- 가격 1,200원
- 등록일 2007.04.19
- 파일종류 압축파일
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|